package com.zhang.cloud.service;


import org.springframework.stereotype.Component;

@Component
public class FeignHystrixFallback implements FeignHystrixService{

    @Override
    public String paymentInfo_ok(Integer id) {
        return "调用ok失败";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "调用timeout失败";
    }

    @Override
    public String paymentCircuitBreaker(Integer id) {
        return null;
    }
}
